<!DOCTYPE html>
<html>
<#include "../head.html">
<body class="full">
	<#include "../top.html">
	<!-- div.main start  -->
	<div class="main">
		<!-- div.main_left start  -->
		<div class="main_left"><#include "left.html"></div>
		<!-- div.main_left end  -->
		<!-- div.main_right start  -->
		<div class="main_right">
			<#assign moduleName="所有授信额度" >
			<#include "banner.html">
			<div class="main_content">
				<form action="" method="post">
				<table  border="0"  cellspacing="1" bgcolor="#CCCCCC" width="100%">
					<tr>
						<td width="" class="main_td">ID</td>
						<td width="*" class="main_td" align="left">用户名称</td>
						<td width="" class="main_td" align="left">现有额度</td>
						<td width="" class="main_td" align="left">冻结额度</td>
						<td width="" class="main_td" align="left">总额度</td>
					<!--	<td width="" class="main_td" align="left">内容</td>
						<td width="" class="main_td" align="left">备注</td>
						<td width="" class="main_td" align="left">状态</td>
						<td width="" class="main_td" align="left">操作</td> -->
					</tr>
					<#list list as item>
					<tr>
						<td>${item.id!?c}</td>
						<td class="main_td1"  align="left"><a href="javascript:void(0)" onclick='tipsWindown("用户详细信息查看","url:get?${webroot}/admin/attestation/viewUserInfo.html?username=${item.username}",500,230,"true","","true","text");'>${item.username!}</a></td>
						<td width="70" align="left">${item.credit_nouse}元</td>
						<td width="70"  align="left">${item.credit_use}元</td>
						<td align="left">${item.credit}元</td>
						
					</tr>
					</#list>
					<tr>
						<td colspan="11" class="action">
							<div class="floatl">
							</div>
							<div class="floatr">
								用户名：<input type="text" name="username" id="username" value=""/> <!-- 状态<select id="status" ><option value="">全部</option><option value="1" >已通过</option><option value="0" >未通过</option></select>  --><input type="button" value="搜索" / onclick="sousuo('index.php?wzd888&q=module/borrow/amount&site_id=8&a=borrow')">
							</div>
						</td>
					</tr>
							
					<tr>
						<td colspan="11" class="page">
							<#import "../../common/page.html" as pager>  
			         	 	<@pager.pagination page=page url="/admin/borrow/allLimit.html" map=param style="style1" /> 
						</td>
					</tr>
				</table>
				</form>	
				<!--额度管理 结束-->
				
				<!--逾期 开始-->
						
				<script>
				var urls = 'admin/borrow';
				
				function sousuo(url){
					var sou = "";
					var username = $("#username").val();
					if (username!=""){
						sou += "&username="+username;
					}
					var keywords = $("#keywords").val();
					if (keywords!=""){
						sou += "&keywords="+keywords;
					}
					var status = $("#status").val();
					if (status!=""){
						sou += "&status="+status;
					}
					var is_vouch = $("#is_vouch").val();
					if (is_vouch!=""){
						sou += "&is_vouch="+is_vouch;
					}
					if (sou!=""){
						
						location.href=url+sou;
					}
				}
				
				function sousuoFull(url){
					var sou = "";
					var username = $("#username").val();
					if (username!=""){
						sou += "&username="+username;
					}
					var biaoType = $("#biaoType").val();
					if (biaoType!=""){
						sou += "&biaoType="+biaoType;
					}
					var is_vouch = $("#is_vouch").val();
					if (is_vouch!=""){
						sou += "&is_vouch="+is_vouch;
					}
					if (sou!=""){
						
						location.href=url+sou;
					}
				}
				</script>
			</div>
		</div>
		<!-- div.main_right end  -->
	</div>
	<!-- div.main end  -->
	<#include "../foot.html">
</body>
</html>
